package com.fuyao.cloud.personnel.library.service;

import cn.hutool.core.lang.tree.Tree;
import com.fuyao.cloud.common.biz.service.FyBaseService;
import com.fuyao.cloud.personnel.library.entity.BookCategory;

import java.util.List;

public interface BookCategoryService extends FyBaseService<BookCategory> {

    BookCategory findByFullCode(String fullCode);

    List<Tree<Long>> selectTree();

    BookCategory updateCategory(BookCategory bookCategory);
    BookCategory saveCategory(BookCategory bookCategory);
}
